package com.borrowed.book.book.domain;

import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

public class SHomepageImg {

    private Long id;
    @ApiModelProperty(value ="标题",example = "启蒙系列",dataType = "String")
    private String title;
    @ApiModelProperty(value ="图片地址",example = "/usr/local/xxx",dataType = "String")
    private String imgUrl;
    @ApiModelProperty(value ="图片点击链接地址",example = "/api/xxx",dataType = "String")
    private String linkUrl;
    @ApiModelProperty(value ="描述",example = "巴拉巴拉",dataType = "String")
    private String desc;
    @ApiModelProperty(value ="启用状态：字典：yesOrNo",example = "1",dataType = "String")
    private String imgStatus;

    private Date createTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl == null ? null : imgUrl.trim();
    }

    public String getLinkUrl() {
        return linkUrl;
    }

    public void setLinkUrl(String linkUrl) {
        this.linkUrl = linkUrl == null ? null : linkUrl.trim();
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc == null ? null : desc.trim();
    }

    public String getImgStatus() {
        return imgStatus;
    }

    public void setImgStatus(String imgStatus) {
        this.imgStatus = imgStatus == null ? null : imgStatus.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}